<%--
  Created by IntelliJ IDEA.
  User: 南苼
  Date: 2021/6/30
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>出试卷-个人中心-赛事星</title>
    <script type="text/javascript" src="../js/jquery-1.10.2.js"></script>
    <script>
        $(function(){
            //window.location.href="http://localhost:9090/Eventstar/set/getsj";
            $(".xk div").click(function(){
                $("div").removeClass("bk");
                $(this).addClass("bk");
            })
        })
    </script>
</head>
<style>
    *{ margin:0; padding:0; }
    body{
        background-color: #F8F8FF;
    }
    #d1{
        margin-left: 15px;
        width: 210px;
        height: 500px;
        background-color: #666666;
        float: left;

    }
    #d2{
        float: left;
        margin-left: 20px;
        width: 960px;
        background-color: white;
    }
    li{
        list-style-type:none
    }
    li{margin-left: 40px;margin-top: 15px}
    a{
        text-decoration:none
    }
    .tx2{
        width: 40px;
        height: 40px;
        margin-left: -30px;
        margin-top: -10px;
    }
    .content{
        margin-left: 17px;
        margin-top: -33px;
        color: white;
    }
    .font1{
        color: aquamarine;
    }
    .C001{
        color: #A9A9A9;
    }
    .bk{border-bottom:3px solid  #FFFF00}
    #d1,#d2{margin-top: 20px}
    #d3{width: 100%;height: 460px;overflow:auto;}
    #d3 .ex1{width: 280px;height: 270px;float: left;background-color: aqua;margin-left: 30px;margin-top: 30px;}
    #d2 span{margin-left: 30px;font-size: 15px;}
    h4{margin-left: 20px}
    .xk div{float: left;margin-left: 30px}
</style>
<body>
<%@include file="../tou.jsp"%>
    <div style="width: 100%;height: 200px;background-image: url('/Eventstar/img/examimg/geren10.png')"></div>
    <div id="d1">
        <div>
            <ul class="body-left">
                <li>
                    <img src="/Eventstar/img/examimg/tx2.png" class="tx2">
                    <div class="content">个人主页</div><br/>
                </li>
                <hr/>
                <br />
                <li><a class="C001">我是考官</a></li> <br />
                <li><a class="font1" href="#">出试卷</a></li> <br />
                <li><a class="font1"  href="/Eventstar/work.jsp">作业情况</a></li> <br />
                <hr/>
                <li><a class="C001">我的资料库</a></li> <br />
                <li><a class="font1"  href="/Eventstar/book_lwj/book.jsp" class="selected">题库</a></li> <br />
                <li><a class="C001" href="#">设置</a></li> <br />
                <li><a class="C001" href="#">消息</a></li> <br />
            </ul>
        </div>
    </div>
    <div id="d2">
        <div  style="width: 100%;height: 60px;">
            <h4>我的出试卷</h4>
            <div style="width: 350px;height: 30px; margin-top: 10px;" class="xk">
                <div>全部考试</div>
                <div>未发布</div>
                <div>已发布</div>
            </div>
        </div>
        <hr/>
        <div id="d3">
            <a href="/Eventstar/settings_zw/Create.jsp"><div style="background-image: url('/Eventstar/img/examimg/img.png')" class="ex1"></div></a>
            <c:forEach items="${getsj}" var="r">
                <div class="ex1">
                    <div style="border-top: 5px solid  yellowgreen;border-bottom: 5px">
                        <div style="width: 100%;height: 70px;background-color:  #ABDDE5;line-height:25px;text-align:center;">${r.exam_name}</div>
                        <div style="width: 100%;height: 160px;background-color: white;line-height:40px;">
                            <div style="margin-left: 20px;font-size: 14px">开始时间:${r.exam_start_date}</div>
                            <div style="margin-left: 20px;font-size: 14px">结束时间:${r.exam_end_date}</div>
                            <div style="margin-left: 20px;font-size: 14px">总分:${r.exam_score}</div>
                            <div style="margin-left: 20px;font-size: 14px">考试码:${r.exam_id}</div>
                        </div>
                        <div style="width: 100%;height: 40px;background-color: #C6C8CA;"><a href="http://localhost:9090/Eventstar/set/tz?ename=${r.exam_name}&ezf=${r.exam_score}&ebm=${r.exam_code}"><img src="/Eventstar/img/examimg/bj.PNG"/></a></div>
                    </div>
                </div>
            </c:forEach>
    </div>
    <div style="width: 100%; height: 30px;clear: both"></div>
<%--<%@include file="../wei.jsp"%>--%>
</body>
</html>
